package com.petdog.module.recognition.dto;

import java.util.List;

public class RecognitionResponse {
    private Long recordId;
    private String fileId;
    private Integer status;
    private String errorMessage;
    private List<RecognitionResult> results; // 可能有多条结果
    private BreedInfoDto breedInfo; // 主要识别结果的品种详情
    private boolean success;
    private String message;
    private boolean lowConfidence = false; // 识别结果置信度是否较低
    
    public String getFileId() {
        return fileId;
    }
    
    public void setFileId(String fileId) {
        this.fileId = fileId;
    }
    
    public Long getRecordId() {
        return recordId;
    }
    
    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }
    
    public Integer getStatus() {
        return status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    
    public String getErrorMessage() {
        return errorMessage;
    }
    
    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
    
    public List<RecognitionResult> getResults() {
        return results;
    }
    
    public void setResults(List<RecognitionResult> results) {
        this.results = results;
    }
    
    public BreedInfoDto getBreedInfo() {
        return breedInfo;
    }
    
    public void setBreedInfo(BreedInfoDto breedInfo) {
        this.breedInfo = breedInfo;
    }
    
    public boolean isSuccess() {
        return success;
    }
    
    public void setSuccess(boolean success) {
        this.success = success;
    }
    
    public String getMessage() {
        return message;
    }
    
    public void setMessage(String message) {
        this.message = message;
    }
    
    public boolean isLowConfidence() {
        return lowConfidence;
    }
    
    public void setLowConfidence(boolean lowConfidence) {
        this.lowConfidence = lowConfidence;
    }
}